.TH cft2clm 1  "October 10, 2008" "version 1.0.003" "USER COMMANDS"
.SH NAME
cft2clm \- convert binary land use data files to clm data files for LPJmL
.SH SYNOPSIS
.B cft2clm
[\-h] [\-firstyear first] [\-lastyear last] [\-nyear n] [\-nbands n] [\-swap]
.I cftfile clmfile
.SH DESCRIPTION
Program converts a raw binary land use data file consisting of 16bit integer values into a file format suitable for LPJmL. 
.SH OPTIONS
.TP
\-h
display a short help text
.TP
\-firstyear first
first year in land use file (default is 1700)
.TP
\-lastyear  last
last year in land use file
.TP
\-nyear  n
number of years in land use file (default is 306)
.TP
\-nbands n
number of bands in output file (default is 26)
.TP
\-swap
change byte order in CRU file
.TP
.I cftfile    
filename of binary land use data file
.TP
.I clmfile     
filename of clm data file written
.SH EXAMPLES
.TP
Create clm data file from land use dataset changing byte order:
.B cft2clm
\-swap cft26.bin cft2003.clm
.PP
.SH EXIT STATUS
.B cft2clm
returns a zero exit status if the clm file is created.
Non zero is returned in case of failure.

.SH AUTHORS

For authors and contributors see AUTHORS file

.SH COPYRIGHT

(C) Potsdam Institute for Climate Impact Research (PIK), see COPYRIGHT file

.SH SEE ALSO
lpjml(1), cru2clm(1), txt2clm(1), grid2clm(1), clm(5)
